package com.mfangsoft.zhuangjialong.integration.abum.model;

import java.io.Serializable;
import java.util.Date;

/**
 *   文章专辑表
 * table t_biz_abum
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class BaseAbum implements Serializable {
    /**
     * column id
     *
     * @MLTH_generated
     */
    private Long id;

    /**
     * column name
     *
     * @MLTH_generated
     */
    private String name;

    /**
     * column top_img_url
     *
     * @MLTH_generated
     */
    private String top_img_url;

    /**
     * column create_time
     *
     * @MLTH_generated
     */
    private Date create_time;

    /**
     * column update_time
     *
     * @MLTH_generated
     */
    private Date update_time;

    /**
     * column user_id
     *
     * @MLTH_generated
     */
    private Long user_id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_biz_abum
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the value for 
     *
     * @MLTH_generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getTop_img_url() {
        return top_img_url;
    }

    /**
     * @param top_img_url the value for 
     *
     * @MLTH_generated
     */
    public void setTop_img_url(String top_img_url) {
        this.top_img_url = top_img_url == null ? null : top_img_url.trim();
    }

    /**
     * @return the value of TIMESTAMP
     *
     * @MLTH_generated
     */
    public Date getCreate_time() {
        return create_time;
    }

    /**
     * @param create_time the value for 
     *
     * @MLTH_generated
     */
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    /**
     * @return the value of TIMESTAMP
     *
     * @MLTH_generated
     */
    public Date getUpdate_time() {
        return update_time;
    }

    /**
     * @param update_time the value for 
     *
     * @MLTH_generated
     */
    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    /**
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getUser_id() {
        return user_id;
    }

    /**
     * @param user_id the value for 
     *
     * @MLTH_generated
     */
    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", top_img_url=").append(top_img_url);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_time=").append(update_time);
        sb.append(", user_id=").append(user_id);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}